package com.openx.amqp;

/**
 * 交换
 * @ClassName: XExchange
 * @author quanyou.chen
 * @date: 2017年10月31日 下午2:32:58
 * @version  v 1.0
 */
public class XExchange {
    private XExchangeType type;
    private String name;
    public XExchange(){}
    public XExchange(String name) {
        this.name = name;
        this.type = XExchangeType.topic;
    }
    public XExchangeType getType() {
        return type;
    }
    public void setType(XExchangeType type) {
        this.type = type;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    
}
